package com.whsxt.constant;

import java.util.Arrays;
import java.util.List;

/**
 * @Author: caoqingwen
 * @CreateTime: 2021-03-10 16:14
 * @Description:
 */
public interface GatewayConstant {

    /**
     * 放行的路径
     */
    List<String> ALLOW_URL = Arrays.asList("/oauth/token");

    /**
     * 登录路径
     */
    String LOGIN_PATH = "/oauth/token";

    /**
     * 请求头token的key
     */
    String AUTHORIZATION = "Authorization";

    /**
     * 存入redis前缀
     */
    String JWT_PREFIX = "jwt:token";
}
